import config

if config.app_alone:
    from socket_io_service import send_message_to_a_client
else:
    from nats_service import send_message_to_a_client

async def send_message(client_id,msg):
    await send_message_to_a_client(client_id,msg)